import request from "../http/http.js"

// 查询菜单列表
export const getCaidan = (data) => {
    console.log(data,"查询菜单接口触发")
    return request.post('/getCaidan',data,{});
};
// 添加菜单
export const addCaidan = (data)=>{
    console.log(data,"添加菜单接口")
    return request.post('/addMenu',data,{})
}
// 删除菜单
export const deleteMenu = (data)=>{
    console.log(data,"删除用户接口")
    return request.post('/deleteMenu',data,{})
}
// // 编辑用户
// export const updateUser = (data)=>{
//     console.log(data,"修改用户接口")
//     return request.post('/updateUser',data,{})
// }


